﻿using System;

namespace fastCSharp
{
    /// <summary>
    /// 指针+数据字节数
    /// </summary>
    public unsafe struct sizePointer
    {
        /// <summary>
        /// 指针
        /// </summary>
        public void* Data;
        /// <summary>
        /// 数据字节数
        /// </summary>
        public int Size;
        /// <summary>
        /// 指针
        /// </summary>
        public pointer Pointer
        {
            get { return new pointer { Data = Data }; }
        }
    }
}
